import routes from "@/router";
import {useRoutes} from "react-router-dom";
import ThemeVariables from "@/components/theme/ThemeVariables.tsx";
import {FC} from "react";

const App: FC = () => {
    const main = useRoutes(routes)
    return (
        <>
            {/*ThemeVariables 作用只是将全局样式文件注入，不存在渲染 */}
            <ThemeVariables />
            {main}
        </>
    )
}

export default App
